home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
dormn201.zip
/
DORMENU.DOC
< prev
next >
Wrap
Text File
|
1992-01-27
|
10KB
|
216 lines
D O R M E N U
Version 2.01
Release Date: September 30, 1991
(C) Copyright 1989,1991 - All Rights Reserved
a PCBoard 14.x door
developed & written By D.J. Cheeks and L.E.Fox
The Modem Zone
108 Curtis Street
Middletown, Ohio 45044
(513) 424-7529 (DUAL) / 424-7794 (HST)
424-8347 (CompuCom)
Voice support 424-6483
FAX 424-5820
Documentation edited by L.E.Fox, D.J.Cheeks
Overview
~~~~~~~~
User selects a menu item from bbs doors list, which will then run
DorMenu. The menu file that you created will be shown to the user.
The user then chooses a selection. DorMenu reads the .DAT file
(ie. ARCADE.DAT) counting the lines read until the number of lines
read matches the selection made by the users, or end of the dat file
is reached. If a match was found then DorMenu checks to see if the
time and security levels have been included, if the time or security
has been included then DorMenu will compare the users time and/or
security level to those in the .DAT file. If time and security are
included then Dormenu will first compare the time to insure that the
caller has enough time remaining, then will check to see that the
users security is equal to or greater than the .DAT file security
level. You can do any combination with the time and security. If
DorMenu passes these test then the name that was read in from the
.DAT file will be loaded into the batch file name that is in the
.CNF file, DorMenu then exits and the next line in the batch file
after DorMenu will execute the batch file whose name is in the .cnf
file. If you've included the line "if exist door.bat door" in the
files then DorMenu will reload else the bbs will be reloaded.
Files included in this ZIP:
~~~~~ ~~~~~~~~ ~~ ~~~~ ~~~~
DorMENU - Same batch file to run DorMENU, different name (PCB directory
The remainder of the files should be put in a doors directory
DorMENU.EXE - Main executable file to be placed in other than PCB directory
DorMENU.DOC - These Pulitzer quality docs (hey, watch your language!)
DorMENU.CNF - Sample config file - must be in same directory as the .exe
Arcade.DAT - Sample dat file - must be in same directory as the .exe
Arcade(g) - Sample menu file - must be in same directory as the .exe
Motu - Sample batch file - must be in same directory as the .exe
Order.Doc - How to get a registered version of DorMemu
and other misc sample files from our bbs
DorMENU Configuration:
~~~~~~~ ~~~~~~~~~~~~~
The DorMENU.CNF file must contain the following information:
line 1 = Driver type (HANDSHAKE, INTERRUPT, BIOS, PCBTRAP)
line 2 = Welcome message filename \
line 3 = Main menu filename \__ PCB color codes supported
line 4 = Closing door message filename /
line 5 = Name of BAT file to run door
line 6 = Name of DAT file that contains doors to run
line 7 = Name of BBS
line 8 = Name of Sysop
line 9 = Serial nbr
line 10 = Registration nbr
It will look similar to this:
INTERRUPT
dwelcom
ARCADE
dclose
arcade.bat
arcade.dat
Modem Zone
Don & Lana
00000
00000000
The configuration file must be located in the default directory
(i.e. C:\PCB\DOORS\CASINO or whatever) along with the DorMENU.exe file.
Invocation Batch File:
~~~~~~~~~~ ~~~~~ ~~~~
As you most likely already know, PCBoard uses batch files associated
with each door to take care of changing directories, executing the file,
returning the user to PCBoard, etc. An example of the batch file to use
for DORMENU, called CASINO, is included. In addition, DorMENU will look
for the batch files to run the selected doors in the default (DorMENU)
directory. This is so you can run multiple DorMENUs.
Placement of DorMENU files:
~~~~~~~~~ ~~ ~~~~~~~ ~~~~~
1) Customize (edit) DORMENU (the batch file), for your system and
put it in the BBS directory.
2) Place DORMENU.EXE in your DOORS directory (i.e.
\PCB\DOORS\CASINO).
3) Customize DORMENU.CNF (the config file), for your system and
put it in your DOORS directory (must be in same directory as
DORMENU.EXE).
4) Place all the batch files to run selected door in the same
directory as DORMENU.EXE and DORMENU.CNF.
5) Be sure to add CASINO (or what ever you called the file) to
your DOORS.DAT file.
Example of DORMENU invocation file (place in bbs default dir):
~~~~~~~ ~~ ~~~~~~~ ~~~~~~~~~~ ~~~~
@echo off <- Turns screen off
c: <- Change to DorMenu drive
cd\pcb\doors\arcade <- Change to DorMenu directory
if exist arcade%PCBNODE%.bat del arcade%PCBNODE%.bat
^- Clean up any old batch files
dormenu arcade.cnf C:\pcb <- runs DorMenu
^----------------- use this for PCBoard.sys
C:\WC\DOOR.SYS <- use this for DOOR.SYS
^----------------- where ever door.sys is located
if exist arcade%PCBNODE%.bat arcade%PCBNODE%.bat
^- runs the selected door
c: <- return to bbs
cd\pcb <- change to bbs directory
if exist event.bat event <- check for pending event
board <- brings bbs back on line
** NOTE **
PCBNODE is used only if you are running a multi-node system
ie.. SET PCBNODE = 1 --- when DorMenu runs PCBNODE will be
changed by DOS to say 1, so the
line above would say ARCADE1.BAT
at execution time.
ie..... if exist arcade1.bat arcade1.bat
Example of Batch file (MOTU) to run DorMENU selection:
~~~~~~~ ~~ ~~~~~ ~~~~ ~~~~ ~~ ~~~ ~~~~~~~ ~~~~~~~~~
@echo off <- Turns screen echo off
c: <- changes to selected door drive
cd\pcb\doors\pb203 <- Changes to selected door subdirectory
pbexec PBUSTPRM.TXT <- Runs selected door
pbplay PBUSTPRM.TXT <- Runs selected door
C: <- changes back to bbs drive
cd\pcb <- changes back to bbs directory
if exist door.bat door <- if this file exist then DorMenu will reload
board <- else the bbs will reload
Example of Dat file (Arcade.Dat) to run DorMENU selection:
~~~~~~~ ~~ ~~~ ~~~~ ~~~~~~~~~~~ ~~ ~~~ ~~~~~~~ ~~~~~~~~~
MOTU,10,30
| | ^------------ security level to access door
| |_______________ time remaining required to access door
|__________________ file name to load in to the batch
file to run the selected door.
TradeWar,,30
PBuster,,30
STrek,,30
Amoeba,,30
OOII,,30
DarkStrm,30,30
MegaVers,,30
Distribution Information:
~~~~~~~~~~~~ ~~~~~~~~~~~
You are free to copy and give this program to anyone, but we ask that
you please keep all the files unchanged in the archieve. To receive your
registered version of the program, see Order.Doc in this ZIP.
If you have any problems or questions, please call us voice (the
number is is in the ORDER.DOC) and let us know. The latest release
of DorMenu and our other door programs are always available for D/L.
Well, that's it! We hope you find DorMenu useful!
Thanks,
->Don and Lana<-
Revision history
10-25-91 v2.01 Fixed the comm problem with DOOR.SYS. Fixed the
time problem with DOOR.SYS.
If you use DOOR.SYS or any of the other non-PCB
systems you must set the following enviroment
string:
COMM 1 --> SET COMBASE=1016
SET COMRIQ=4
COMM 2 --> SET COMBASE=760
SET COMRIQ=3
COMM 3 --> SET COMBASE=1000
SET COMRIQ=4
COMM 4 --> SET COMBASE=744
SET COMRIQ=3
DorMenu will handle up to 8 comm ports
09-30-91 v2.00 Added support for DOOR.SYS, Updated the doc files,
Added .DAT file format to allow security and time
checking before allowing caller to open door.
07-01-91 v2.00 Beta started
07-16-90 v1.51 Compiled using ProKit 3.2 release, and add close down
door.
03-04-90 v1.5 Fixed dropped carrier problem, minimized opening screen
in registered versions.
02-26-90 v1.4 Added support for registered SysOps by popular request
01-01-90 v1.3 Compiled using Turbo Pascal 5.5, ProKit 3.1, and a minor
bug that caused an occasional door to return to the main
board on exit.
01-23-89 v1.2 Compiled using Turbo Pascal 5.0
01-05-89 v1.1 Minor bug fix in SysOp Display. Added printer logging.
Now allows User-defined batch file name so DorMENU could
now be run from the PCB directory without conflict.
12-26-88 v1.0 Initial coding